// 提供首页相关API函数
import request from "@/utils/request";


export const findBrand = (limit = 6) => {
    return request('/home/brand','get',{limit})
}

// 获取轮播广告
export const findBanner = () => {
    return request('/home/banner','Get')
}

// 获取新鲜好物
export const findNew = () => {
    return request('/home/new','Get')
}

// 获取人气推荐
export const findHot = () => {
    return request('home/hot', 'get')
  }
  
  // 获取商品板块
export const findGoods= () => {
    return request('home/goods', 'get')
}


// 获取最新专题
  export const findSpecial= () => {
    return request('home/special', 'get')
}